/**
 * I really dont like the class name Bank, I think Bet is 'bet'-ter. The reason being, it is more about the interactions on balance from the outcome of the game
 * rather than strictly what the "balance" is. 
 * 
 *  THIS CLASS WILL NEED YOU TO FIX IT UP LOGISTICALLY.  IM CERTAIN I HAVE RETURNED THE WRONG VARIABLES OR SET VOID AT THE WRONG TIME OR SOMETHING
 *  IT IS NOT FINAL AT THIS STAGE.
 *  
 *  I have programmed in a few methods that I think are logistically and methodologically correct.  Please fix where necessary as I don't fully understand this OOP atm.
 *  
 *  Effectively, how it works is it creates a balance with starting value of 0. addBet/subtractBet find the balance and add or subtract the bet from balance, and 
 *  return setBalance.
 */


package cards;

public class Bank {

	int balance;

		public Bank() {
			this.balance = 0;
		}
		
		public Bank(int balance) {
			this.balance = balance;
		}
		
		public int checkBalance() {
			return this.balance;
		}
		
		public void addCash(int cash) {
			this.balance += cash;
		}
		
		public void subtractCash(int cash) {
			this.balance -= cash;
		}


}
